package com.tinyseed.emcp.api.basicdata.repository;

import com.tinyseed.emcp.api.basicdata.domain.VrealtimeMonitor;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/***
 * @ClassName: VrealtimeMonitorRepository
 * @Description: 实时监控持久层
 * @Auther: Harlan.Xiong
 * @Date: 2019-12-23 19:02
 * @version : V1.0
 */
public interface VrealtimeMonitorRepository extends JpaRepository<VrealtimeMonitor, Long> {

    Page<VrealtimeMonitor> findAll(Specification<VrealtimeMonitor> specification, Pageable pageable);

    List<VrealtimeMonitor> findAll(Specification<VrealtimeMonitor> specification);
}
